<ion-header-bar class="bar-top text-center">
    <div class="buttons">
        <nav-button class="back" ng-click="back()"></nav-button>
    </div>
    <h1 class="title">{{vm.title}}</h1>
</ion-header-bar>
<ion-view>
    <ion-content class="check add-check form" has-bouncing="false">
        <p class="tit row">患者填写：</p>
        <div class="f-block">
            <div class="row ipt">
              <div class="col col-33 txt">体检项目</div>
              <div class="col col-67"><input ng-disabled="vm.isDetail" type="text" ng-model="vm.model.apprItem" placeholder="请填写体检项目"></div>
            </div>
            <div class="row ipt">
              <div class="col col-33 txt">科室</div>
              <div class="col col-67" ng-click="vm.select('register-doc-info-depart')">
                <span>{{vm.model.branchName}}</span>
                <i class="r-arrow"></i>
              </div>
            </div>
            <div class="row ipt">
              <div class="col col-33 txt">医生姓名</div>
              <div class="col col-67" ng-click="vm.select('doc-listselect')">
                <span>{{vm.model.doctorName}}</span>
                <i class="r-arrow"></i>
              </div>
            </div>
            <div class="row ipt">
              <div class="col col-33 txt">鉴定费用</div>
              <div class="col col-67"><input disabled type="text" value="{{vm.model.apprCost}}" placeholder="请填写鉴定费用"></div>
            </div>
            <div class="row">
                <div class="col report">
                    <p class="r-tit">检查报告</p>
                    <div class="up-list row">
                        <div class="col"><i class="arrow left"></i></div>
                        <div class="col col-90">
                            <ion-scroll direction="x">
                                <ul class="ul-imgs" ng-style="{'width':vm.imgWidth+'px'}">
                                    <li on-hold="delAvatar($index)" ng-repeat="img in vm.model.appraisalPictures track by $index"><img ng-src="{{downloadImg(img)}}" alt=""  ng-click="showImages($index)"></li>
                                </ul>
                            </ion-scroll>
                            <image-purview data='vm.ipData'></image-purview>
                        </div>
                        <div class="col"><i class="arrow right"></i></div>
                    </div>
                    <div ng-click="getAvatar();" class="upload"><i class="up"></i>点此上传检查报告（最多10张）</div>
                </div>
              
            </div>
        </div>
        <div class="f-block">
            <div class="row">
              <div class="col">
                <p class="name">给医生留言</p>
                <textarea ng-disabled="vm.isDetail" ng-model="vm.model.content" class="txt-area" name="" id="" placeholder="给医生留言"></textarea>
              </div>
            </div>
        </div>
        <p class="tit row" ng-show="vm.isDetail">医生填写：</p>
        <div class="f-block" ng-show="vm.isDetail">
            <div class="row">
              <div class="col">
                <p class="name">鉴定结果</p>
                <textarea disabled ng-model="vm.model.apprResult" class="txt-area" name="" id="" placeholder=""></textarea>
              </div>
            </div>
        </div>
        <div class="row" ng-show="!vm.isDetail">
            <button class="col button button-small" ng-click="vm.submit()">提交</button>
        </div>
        <div class="row btn" ng-show="false" ng-click="vm.notidentify()">
            <button class="col button button-small gray">无法鉴定</button>
        </div>
    </ion-content>
</ion-view>